package com.wyzz.hr.bo;

import java.util.*;

import org.hibernate.criterion.DetachedCriteria;

import com.wyzz.hr.pojo.Empbenefit;
import com.wyzz.hr.pojo.Empbenefitplan;
import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.pojo.Empsalarypay;
import com.wyzz.hr.util.Pager;

public interface IEmpBenefitBo {

	public abstract List findEmpBenefit(DetachedCriteria detachedcriteria,
			Pager pager, String s);

	public abstract String insertBenefit(Empbenefit empbenefit, String s);

	public abstract String insertNewBenefit(Empbenefit empbenefit,
			Empbenefit empbenefit1, Employee employee);

	public abstract String addBenefit(Employee employee);

	public abstract String updateBenefit(Empbenefit empbenefit,
			Employee employee);

	public abstract String deleteBenefit(Employee employee, String s, String s1);

	public abstract boolean deleteBenefitPlan(String s, Integer integer,
			String as[]);

	public abstract List searchByEmpNo(String s);

	public abstract Empbenefit loadPrevBenefit(String s);

	public abstract Empbenefit getEmpbenefitById(String s);

	public abstract void setEmpBenefitPay(String s,
			Empsalarypay aempsalarypay[]);

	public abstract void getEmpBenefitEbp(String s, List list);

	public abstract void getEmpBenefit(String s, int i, List list);

	public abstract void getEmpBenefit(String s, List list);

	public abstract List searchbenefitpayvalueByEmpId(String s);

	public abstract List getEmpAdditionalBenefitPlanList(String s, Set set);

	public abstract List getBenefitPlanByEsav(String s);

	public abstract boolean shuffleBenefitPlan(List<Empbenefitplan> list,
			Map map, List list1);

	public abstract boolean saveOrupdate(List list);
}
